Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 109.3 kB / 16.41 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 182.1 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8847/0.8847, allocations: 135.2 MB / 426.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 61.34 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1707, allocations: 80.94 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5507/0.7214, allocations: 154.2 MB / 0.8159 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.7357, allocations: 10.41 MB / 0.8261 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.7367, allocations: 21 kB / 0.8261 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009158/0.7376, allocations: 267 kB / 0.8264 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.7405, allocations: 0.9073 MB / 0.8273 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.7431, allocations: 1.041 MB / 0.8283 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.7449, allocations: 1.508 MB / 0.8298 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.7462, allocations: 0.949 MB / 0.8307 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.7479, allocations: 0.6816 MB / 0.8314 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006421/0.7486, allocations: 0.5521 MB / 0.8319 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.7487, allocations: 121.5 kB / 0.832 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.7505, allocations: 1.019 MB / 0.833 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003256/0.7508, allocations: 362.6 kB / 0.8333 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005666/0.7514, allocations: 0.5954 MB / 0.8339 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.754, allocations: 2.072 MB / 0.836 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.754, allocations: 0 / 0.836 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.754, allocations: 0 / 0.836 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.7541, allocations: 0 / 0.836 GB, free: 11.49 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002746/0.7568, allocations: 1.651 MB / 0.8376 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.7568, allocations: 8.672 kB / 0.8376 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.7587, allocations: 266 kB / 0.8378 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.76, allocations: 0.8748 MB / 0.8387 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.7601, allocations: 69.45 kB / 0.8387 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.7602, allocations: 89.22 kB / 0.8388 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.762, allocations: 1.042 MB / 0.8399 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.7621, allocations: 3.938 kB / 0.8399 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.209e-05/0.7622, allocations: 38.25 kB / 0.8399 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.7622, allocations: 22.34 kB / 0.8399 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.7643, allocations: 1.271 MB / 0.8412 GB, free: 8.039 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/0.7691, allocations: 3.048 MB / 0.8441 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.7709, allocations: 0.9639 MB / 0.8451 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007261/0.7716, allocations: 359.7 kB / 0.8454 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/0.7719, allocations: 138.8 kB / 0.8455 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.773, allocations: 0.5423 MB / 0.8461 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 2.825e-06/0.773, allocations: 0 / 0.8461 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.004263/0.7773, allocations: 1.506 MB / 0.8475 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.7774, allocations: 199.3 kB / 0.8477 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.7785, allocations: 0.7668 MB / 0.8485 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.649e-05/0.7786, allocations: 43.08 kB / 0.8485 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.779, allocations: 452.3 kB / 0.849 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.7793, allocations: 304.9 kB / 0.8492 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.7796, allocations: 165.7 kB / 0.8494 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.7798, allocations: 343.6 kB / 0.8497 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006682/0.7805, allocations: 322.6 kB / 0.85 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009805/0.7815, allocations: 446.4 kB / 0.8505 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.7831, allocations: 0.7335 MB / 0.8512 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7831, allocations: 0 / 0.8512 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002668/0.7858, allocations: 1.006 MB / 0.8522 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.7858, allocations: 9.656 kB / 0.8522 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.7858, allocations: 0 / 0.8522 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007629/0.7865, allocations: 113.7 kB / 0.8523 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009285/0.7875, allocations: 203.7 kB / 0.8525 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/0.7912, allocations: 3.063 MB / 0.8555 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/0.7921, allocations: 99.48 kB / 0.8556 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/0.7922, allocations: 35.98 kB / 0.8556 GB, free: 11.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005926/0.7928, allocations: 293.8 kB / 0.8559 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.793, allocations: 107.3 kB / 0.856 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.7961, allocations: 1.201 MB / 0.8572 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.7961, allocations: 19.94 kB / 0.8572 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7961, allocations: 3.938 kB / 0.8572 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.7961, allocations: 7.969 kB / 0.8572 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004421/0.8005, allocations: 2.229 MB / 0.8594 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8005, allocations: 0 / 0.8594 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009061/0.8014, allocations: 191.8 kB / 0.8595 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/0.802, allocations: 101.6 kB / 0.8596 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.802, allocations: 23.98 kB / 0.8597 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/0.8055, allocations: 3.104 MB / 0.8627 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8055, allocations: 3.938 kB / 0.8627 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.8083, allocations: 1.132 MB / 0.8638 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.8088, allocations: 304 kB / 0.8641 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.809, allocations: 20 kB / 0.8641 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007307/0.8097, allocations: 67.92 kB / 0.8642 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.8099, allocations: 68.91 kB / 0.8642 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.893e-05/0.81, allocations: 39.97 kB / 0.8643 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000813/0.8108, allocations: 0.542 MB / 0.8648 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.8108, allocations: 0 / 0.8648 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001326/0.8121, allocations: 426.9 kB / 0.8652 GB, free: 1.43 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002339/0.8145, allocations: 0.706 MB / 0.8659 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.8168, allocations: 1.037 MB / 0.8669 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.8168, allocations: 192 / 0.8669 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.8182, allocations: 0.6629 MB / 0.8676 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.8199, allocations: 344.7 kB / 0.8679 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.8249, allocations: 2.087 MB / 0.8699 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/0.8257, allocations: 1.075 MB / 0.871 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.8261, allocations: 123.4 kB / 0.8711 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.222e-06/0.8261, allocations: 4 kB / 0.8711 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of Templates: time 0.03752/0.8636, allocations: 25.75 MB / 0.8963 GB, free: 1.77 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.o] Error 1