Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001529/0.001529, allocations: 107.2 kB / 16.41 MB, free: 6.492 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.001707/0.001707, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8045/0.8045, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.81 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1725, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6308/0.8033, allocations: 153.8 MB / 0.8105 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.8182, allocations: 10.39 MB / 0.8206 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.8199, allocations: 20.66 kB / 0.8207 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.821, allocations: 257 kB / 0.8209 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.8248, allocations: 0.8955 MB / 0.8218 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.828, allocations: 1.042 MB / 0.8228 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002305/0.8303, allocations: 1.509 MB / 0.8243 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.832, allocations: 1.142 MB / 0.8254 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.8342, allocations: 0.6566 MB / 0.826 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009321/0.8351, allocations: 0.5605 MB / 0.8266 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.8354, allocations: 120.7 kB / 0.8267 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.8378, allocations: 1.017 MB / 0.8277 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003712/0.8382, allocations: 358.3 kB / 0.828 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006848/0.8389, allocations: 0.596 MB / 0.8286 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003954/0.8429, allocations: 2.062 MB / 0.8306 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.8429, allocations: 0 / 0.8306 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8429, allocations: 0 / 0.8306 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.541e-05/0.843, allocations: 0 / 0.8306 GB, free: 1.629 MB / 0.5919 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.003346/0.8463, allocations: 1.597 MB / 0.8322 GB, free: 400 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.8464, allocations: 9.656 kB / 0.8322 GB, free: 400 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.8482, allocations: 261.4 kB / 0.8324 GB, free: 276 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.8498, allocations: 0.8717 MB / 0.8333 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/0.8498, allocations: 69.06 kB / 0.8334 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.85, allocations: 87.94 kB / 0.8334 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.8518, allocations: 1.046 MB / 0.8345 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.8519, allocations: 3.984 kB / 0.8345 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/0.852, allocations: 41.97 kB / 0.8345 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.852, allocations: 22.59 kB / 0.8345 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.8541, allocations: 1.267 MB / 0.8358 GB, free: 14.24 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.005217/0.8593, allocations: 3.037 MB / 0.8387 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.8611, allocations: 1.017 MB / 0.8397 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/0.8618, allocations: 404.3 kB / 0.8401 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.8621, allocations: 130.6 kB / 0.8402 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.8631, allocations: 0.5517 MB / 0.8408 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 3.777e-06/0.8631, allocations: 0 / 0.8408 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.003995/0.8671, allocations: 1.508 MB / 0.8422 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/0.8673, allocations: 190.7 kB / 0.8424 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.8683, allocations: 0.7627 MB / 0.8432 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.8684, allocations: 45.3 kB / 0.8432 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.8688, allocations: 435.6 kB / 0.8436 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.8691, allocations: 289.7 kB / 0.8439 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.8694, allocations: 172 kB / 0.8441 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.8696, allocations: 345.6 kB / 0.8444 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006527/0.8703, allocations: 317.4 kB / 0.8447 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/0.871, allocations: 448.8 kB / 0.8451 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.8724, allocations: 0.7211 MB / 0.8458 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.8724, allocations: 7.922 kB / 0.8458 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00248/0.8749, allocations: 1.002 MB / 0.8468 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.875, allocations: 13.88 kB / 0.8468 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.875, allocations: 4 kB / 0.8468 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007826/0.8758, allocations: 117.5 kB / 0.847 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008693/0.8767, allocations: 187.8 kB / 0.8471 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003257/0.8799, allocations: 3.059 MB / 0.8501 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.881, allocations: 99.22 kB / 0.8502 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/0.881, allocations: 35.97 kB / 0.8502 GB, free: 2.738 MB / 0.6075 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.0006503/0.8817, allocations: 306.5 kB / 0.8505 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.8819, allocations: 94.81 kB / 0.8506 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.8846, allocations: 1.22 MB / 0.8518 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.8846, allocations: 8 kB / 0.8518 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.8846, allocations: 3.938 kB / 0.8518 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.8846, allocations: 3.984 kB / 0.8518 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/0.8885, allocations: 2.232 MB / 0.854 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.8886, allocations: 8 kB / 0.854 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.8894, allocations: 183.7 kB / 0.8542 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005734/0.8899, allocations: 101.6 kB / 0.8543 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.89, allocations: 27.97 kB / 0.8543 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002866/0.8929, allocations: 3.096 MB / 0.8573 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8929, allocations: 3.938 kB / 0.8574 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.8954, allocations: 1.135 MB / 0.8585 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004925/0.8959, allocations: 291.6 kB / 0.8587 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.896, allocations: 19.94 kB / 0.8588 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/0.8967, allocations: 71.92 kB / 0.8588 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.8969, allocations: 72.89 kB / 0.8589 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/0.897, allocations: 35.98 kB / 0.8589 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00073/0.8977, allocations: 0.5381 MB / 0.8595 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8977, allocations: 3.938 kB / 0.8595 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001284/0.899, allocations: 427.2 kB / 0.8599 GB, free: 8.473 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.001711/0.9007, allocations: 0.6995 MB / 0.8605 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.903, allocations: 1.076 MB / 0.8616 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.903, allocations: 0 / 0.8616 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.9042, allocations: 0.6865 MB / 0.8623 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.9057, allocations: 340.5 kB / 0.8626 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.9102, allocations: 2.059 MB / 0.8646 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006695/0.9109, allocations: 1.071 MB / 0.8657 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/0.9113, allocations: 123.4 kB / 0.8658 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/0.9113, allocations: 0 / 0.8658 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of Templates: time 0.03446/0.9458, allocations: 25.7 MB / 0.8909 GB, free: 8.902 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.o] Error 1